package com.jingdianjichi.subject.infra.basic.ES.自定义ES_鸡翅.service;

import com.jingdianjichi.subject.common.entity.PageResult;
import com.jingdianjichi.subject.infra.basic.ES.自定义ES_鸡翅.entity.SubjectInfoES;

/**
 * 和ES去做交互的亲
 */
public interface SubjectESService {

    //添加文档
    boolean insert(SubjectInfoES subjectInfoES);

    //根据keyWord查询分页来的
    PageResult<SubjectInfoES> querySubjectList(SubjectInfoES subjectInfoES);
}
